Dissection Example

FILE: Dissect.cln

Introduction

This is a simple example of the Dissector object, this is one of the key object within CleanSheet and it is important to understand this object.

The example takes a two dimensional array (notice that the column headings are not part of the data) and extracts 3 fragments from it.

Fragment A	This is Column 1, Row 1 to Column 1, Row 1, returned as a single Item

Fragment B	This is Column 0, Row 1 to Right Edge, Row 1, returned as a 1 dimensional array

Fragment C	This is Column 0, Row 0 to Column 1, Bottom Edge, returned as a 2 dimensional array

Click on any part you need further help with.


This is an Input Table object, which inputs the two dimensional array we are using as the example.


This is the Dissector Object, used to split the table into fragments.


This is an Output Table, displaying the Date Object we extracted as fragment A.


This is an Output Table, displaying the row we extracted. This table is set to display the result using array notation, notice that this array is one dimensional (i.e. it has only 1 set of curly brackets around it).


This is an Output Table displaying the two dimensional fragment C.